<link href="css/style_question.css" type="text/css" rel="stylesheet" />
<?php
include_once('connection/connection.php');
include('config.php');
//$form_id=$_SESSION['formID'];
$form_id=trim($_REQUEST['form_id']);
$sqlReserv="select * from tbl_dtls_q1_reserv where loc_id=".$form_id." AND reserv_id LIKE ('OHSR%') order by id";
//echo $sqlSWS;
$queryReserv=mysql_query($sqlReserv);
//$rowSWS=mysql_fetch_array($querySWS);
?> 
                  <table border="0" width="250" id="table16" cellpadding="0">
                        <tr>
                          <td align="center" bgcolor="#CCCCCC"><font style="font-size: 8.5pt; font-style: normal" face="Verdana" color="#990000">Total Capacity (kl)</font> </td>
                        </tr> 
					<?php
					/*$ohsr_total=$_POST['ohsr_total'];
					for($i=1; $i<=$ohsr_total; $i++)
					{*/
  					$i=1;
					while($rowReserv=mysql_fetch_array($queryReserv))
					{
					?>                  
                        <tr>
                          <td height="22" align="center"><input type="text" name="ohsr_id<?php echo $i;?>" id="ohsr_id<?php echo $i;?>" size="18" class="txt5" value="<?php echo $rowReserv['reserv_id'];?>" readonly />&nbsp;&nbsp;<input type="text" name="ohsr_capacity<?php echo $i;?>" id="ohsr_capacity<?php echo $i;?>" value="<?php echo $rowReserv['reserv_cap'];?>" size="18" class="txt5" onblur="float(this)">
						  </td>
                        </tr>
						<?php 
						$i++;
						} ?>
						<tr>
						<td height="2" align="center" bgcolor="#CCCCCC"><font style="font-size: 8.5pt; font-style: normal" face="Verdana" color="#990000"></font></td>
						</tr>
                      <input type="hidden" name="ohsrcount" id="ohsrcount" value="<?php echo $i-1;?>">
					  </table>
